<template>
	<div>
		<warehouseLog :barCode="barCode" v-if="barCode" />
	</div>
</template>

<script>
import warehouseLog from "./warehouseLog";
export default {
	components: { warehouseLog },
	props: {},
	data() {
		return {
			barCode: ""
		};
	},
	mounted() {
		this.init();
	},
	methods: {
		init() {
			this.barCode = this.$route.query.barCode;
		}
	}
};
</script>

<style lang="scss"></style>
